package com.me.study.javaCore.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * JAVA RMI 学习：定义远程接口 <p>
 * TODO 远程服务对象接口必须继承Remote接口；同时方法必须抛出RemoteExceptino异常
 *
 * @author ME
 * @date   2020/2/24
 */
public interface OrderService extends Remote {
    String queryOrderByUser(User user) throws RemoteException;
}
